package com.bank.service.Impl;

import com.bank.mapper.UserMapper;
import com.bank.model.User;
import com.bank.service.UserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(String mobile, String passWord) {
        return userMapper.login(mobile, passWord);
    }
}
